SimpleJWTLogin\Services\ProtectEndpointService S

Total Complexity 21
Dependencies 3
Dependents 0
Total lines 165
Lines of code 98
Logical lines of code 51
Comment lines 39
Methods 7
Properties 1

Methods 7

Method Rating Maintainability Complexity Lines of code
isEndpointProtected()
S
47 6 42
hasAccess()
S
51 6 25
parseDomainsAndGetResult()
S
60 4 14
addFirstSlash()
S
71 2 6
withRouteService()
S
77 1 4
removeWpJsonFromEndpoint()
S
75 1 4
removeLastSlash()
S
79 1 3